package com.atguigu.lease.common.minio;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * Date:2024/9/23 9:14
 * Author:ybc
 * Description:
 */
@Data
@ConfigurationProperties(prefix = "minio")
//作为IOC容器的组件不会报错直接加@Component或者通过在配置类MinioConfiguration中开启批量属性注入的注解@EnableConfigurationProperties(MinioProperties.class)
public class MinioProperties {
    private String endpoint;

    private String accessKey;

    private String secretKey;

    private String bucketName;
}
